import request from '@/utils/request'

// 查询系统访问记录列表
export function listLoginLog(params) {
  return request({
    url: '/system/login-log/list',
    method: 'get',
    params
  })
}

// 删除系统访问记录
export function delLoginLog(ids) {
  return request({
    url: '/system/login-log/' + ids,
    method: 'delete'
  })
}

// 清空系统访问记录
export function clearLoginLog() {
  return request({
    url: '/system/login-log',
    method: 'delete'
  })
}
